SCCompressPictureFile
TheSCCompressPictureFile
function compresses a picture that is stored in a file.
pascal ComponentResult SCCompressPictureFile (ComponentInstance ci, short srcRefNum, short dstRefNum);
ci
- Identifies your application's connection to a standard image-compression dialog component.
srcRefNum
- Contains a reference to the file to be compressed.
dstRefNum
- Contains a reference to the file that is to receive the compressed data. This may be the same as the source file. The standard dialog component places the compressed image data into the file identified by this reference. Your application is responsible for this file after the compression operation.
RESULT CODES
Image Compression Manager errors (from
scUserCancelled 1 Dialog box canceled--user clicked Cancel FCompressPictureFile
function)
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help